<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>{$Think.lang.rle_man_page_title} - {$Think.lang.cfg_website}</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<link rel='stylesheet' type='text/css' href='{$NOW_THEME_URL}/Assets/plugins/jquery-treetable/css/jquery.treeTable.css' />
<link href="{$NOW_THEME_URL}/Assets/plugins/bootstrap/css/bootstrap.min.css" rel="stylesheet" type="text/css"/>
<link href="{$NOW_THEME_URL}/Assets/plugins/bootstrap/css/bootstrap-responsive.min.css" rel="stylesheet" type="text/css"/>
<link href="{$NOW_THEME_URL}/Assets/css/style.css" rel="stylesheet" type="text/css"/>
<link href="{$NOW_THEME_URL}/Assets/css/style-metro.css" rel="stylesheet" type="text/css"/>

<script src="__PUBLIC__/Js/jquery.min.js" type="text/javascript"></script>
<script type="text/javascript" src="{$NOW_THEME_URL}/Assets/plugins/jquery-treetable/jquery.treetable.js"></script>
<script src="__PUBLIC__/Js/jquery.min.js" type="text/javascript"></script>
<script src="{$NOW_THEME_URL}/Assets/plugins/jquery-migrate-1.2.1.min.js" type="text/javascript"></script>   
<script src="{$NOW_THEME_URL}/Assets/plugins/bootstrap/js/bootstrap.min.js" type="text/javascript"></script>
</head>
<body>
<div>
	<ul class="nav nav-tabs">
    	<li class="active"> <a href="#tab_1_1" data-toggle="tab"> {$Think.lang.ord_tip_ele_orderdetail} </a> </li>
    	<li> <a href="#tab_1_2" data-toggle="tab"> {$Think.lang.ord_tip_ele_productdetail} </a> </li>
    	<li> <a href="#tab_1_3" data-toggle="tab"> 订单操作记录 </a> </li>
	</ul>
    <div class="tab-content">
    	<div class="tab-pane active" id="tab_1_1">
            <table id="tree" width="100%" border="0" cellpadding="4" cellspacing="1" class="table">
                <tr>
                <td width="90">{$Think.lang.ord_form_ele_orderno}</td>
                <td>{$detail['orderno']}{$test}</td>
              </tr>
              <tr>
                <td>{$Think.lang.ord_form_ele_addtime}</td>
                <td>{$detail['addtime']|date="Y-m-d H:i:s",###}</td>
              </tr>
              <tr>
                <td>{$Think.lang.ord_form_ele_status}</td>
                <td>{$detail.status_str}</td>
              </tr>
              <tr>
                <td>{$Think.lang.ord_form_ele_status}</td>
                <td>{$detail.ispay_str}
                	<!-- <eq name="detail.ispay" value="1">{$detail['paytime']|date="Y-m-d H:i:s",###}</eq> -->
                </td>
              </tr>
              <tr>
                <td>{$Think.lang.ord_form_ele_totalfee}</td>
                <td>{$detail['totalfee']}</td>
              </tr>
              <tr>
                <td>{$Think.lang.ord_form_ele_username}</td>
                <td>{$detail['realname']}</td>
              </tr>
              <tr>
                <td>{$Think.lang.ord_form_ele_tel}</td>
                <td>{$detail['mobile']}</td>
              </tr>
              <tr>
                <td>{$Think.lang.ord_form_ele_email}</td>
                <td>{$detail['email']}</td>
              </tr>
              <tr>
                <td>{$Think.lang.ord_form_ele_address}</td>
                <td>{$detail['address']}</td>
              </tr>
              <tr>
                <td>{$Think.lang.ord_form_ele_content}</td>
                <td>{$detail['content']}</td>
              </tr>
            </table>
        </div>
        <div class="tab-pane" id="tab_1_2">
        	<table id="tree" width="100%" border="0" cellpadding="4" cellspacing="1" class="table">
        		<tr>
        			<td>商品名称</td>
        			<td>价格</td>
        			<td>小计</td>
        			<td>数量</td>
	        		</tr>
        		<volist name="detail.list" id="s">
	        		<tr>
	        			<td>{$s.title}</td>
	        			<td>{$s.sprice}</td>
	        			<td>{$s.totalprice}</td>
	        			<td>{$s.amount}</td>
	        		</tr>
            	</volist>
        	</table>
        </div>
        <div class="tab-pane" id="tab_1_3">
        	<table id="tree" width="100%" border="0" cellpadding="4" cellspacing="1" class="table">	
            	<tr>
        			<td>操作时间</td>
        			<!-- <td>操作备注</td> -->
        			<td>操作描述</td>
        			<td>操作者</td>
	        	</tr>
        		<volist name="opreate" id="v">
	            	
	        		<tr>
	        			<td>{$v.addtime|date="Y-m-d H:i:s",###}</td>
	        			<!-- <td>{$v.content}</td> -->
	        			<td>{$v.title}</td>
	        			<td>
	        				<notempty name="v.rname">{$v.rname}<else />客户自操作</notempty>
	        			</td>
	        		</tr>
            	</volist>
            </table>
        </div>
    </div>
</div>
</body>
</html>
